import request from '@/plugins/request';

// 支付宝充值
export function rechargeAlipayPC (data) {
    return request({
        url: '/qhApi/topUp/alipayPC',
        method: 'post',
        data
    });
}

// 微信充值
export function wechatpayPC (data) {
    return request({
        url: '/qhApi/topUp/wechatpayPC',
        method: 'post',
        data
    });
}


// 充值结果查询
export function resultsQuery (data) {
    return request({
        url: '/qhApi/topUp/resultsQuery',
        method: 'get',
        params: data
    });
}

// 图片上传
export function imageUpload (data) {
    return request({
        url: '/qhApi/imageUpload',
        method: 'post',
        data
    });
}

// 汇款记录列表
export function remittanceList (data) {
    return request({
        url: '/qhApi/financial/remittances',
        method: 'get',
        params: data
    });
}

// 充值记录列表
export function rechargeList(data) {
    return request({
        url: '/qhApi/financial/topUps',
        method: 'get',
        params: data
    });
}

// 收支明细
export function financialBills(data) {
    return request({
        url: '/qhApi/financial/bills',
        method: 'get',
        params: data
    });
}

// 订单列表
export function financialOrders(data) {
    return request({
        url: '/qhApi/financial/orders',
        method: 'get',
        params: data
    });
}

// 订单列表
export function financialorderInfo(data) {
    return request({
        url: '/qhApi/financial/proxyIp/orderInfo',
        method: 'get',
        params: data
    });
}

// 订单列表
export function financialRemittanceVoucher(data) {
    return request({
        url: '/qhApi/financial/remittanceVoucher',
        method: 'post',
        data
    });
}

